<template>
<div>
	<aaa></aaa>
	<div class="reg_box">
		<div class="line_box">
			<input type="text" v-model="user_name"/>
		</div>
		<div class="line_box">
			<input type="text" v-model="password"/>
		</div>
		<div class="line_box act_box">
			<button @click="submit">提交</button>
		</div>
	</div>
</div>
</template>
<script>
export default {
	data(){
		return {
			user_name:'',
			password:''
		};
	},
	components:{
		aaa:{
			name:'aaa',
			data(){
				return {
					
				};
			},
			methods:{
				
			},
			created(){
				console.log(this.password);
			},
			template:'<a>aaaa</a>'
		}
	},
	methods:{
		submit(){
			alert(this.user_name);
			console.log(this.aa);
		},
		aa(){
			
		}
	}
}

</script>
<style>
	
</style>